<template>
    <common-edit-base :commonEditData="commonEditData" @closeWin="closeWin" @goSearch="goSearch"></common-edit-base>
</template>
<script>
import CommonEditBase  from './CommonEditBase.vue'

export default {
    name:"commonEdit2",
    props:["commonEditData"],
    components: {
       CommonEditBase
    },
    data(){
        return{
          
        }
    },
    methods:{
        closeWin(data){
           
            this.$emit("closeWin",data)
            //parent.postMessage(data,'*');
        },
        goSearch(data){
            this.$emit("goSearch",data)
        }
    }
}
</script>